xdisp.c (reseat_1): Make the information stored in it->cmp_it invalidate.
authorKenichi Handa <handa@gnu.org>
Wed, 17 Oct 2012 13:30:56 +0000 (22:30 +0900)
committerKenichi Handa <handa@gnu.org>
Wed, 17 Oct 2012 13:30:56 +0000 (22:30 +0900)
src/ChangeLog
src/xdisp.c

index 4e8d34423f3e2ecb1cd71cf6c2fd09a64b4ab9b8..d8e3e6c6ec50a3c336dc6feb78c3b8ad5ca38273 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-17  Kenichi Handa  <handa@gnu.org>
+
+       * xdisp.c (reseat_1): Make the information stored in it->cmp_it
+       invalidate.
+
 2012-10-13  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (xg_set_widget_bg): Divide by 65535 (Bug#12612).
index 1e61a74068b5636e1c8e5e17be65bb267dd82331..6964719f95863da53b8e1ebcaecaf2b008d30fc6 100644 (file)
@@ -6302,6 +6302,8 @@ reseat_1 (struct it *it, struct text_pos pos, int set_stop_p)
       it->stop_charpos = CHARPOS (pos);
       it->base_level_stop = CHARPOS (pos);
     }
+  /* This make the information stored in it->cmp_it invalidate.  */
+  it->cmp_it.id = -1;
 }